/* General styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    width: 100%;
}

.image-container {
    margin-top: 20px;
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-text {
    position: absolute;
    top: 100px;
    right: 30%;
    transform: translateX(-50%);
    color: rgba(146, 238, 102, 1);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 2.5em;
    font-weight: 600;
    text-align: center;
}

.plants {
    color: white;
}

/* Responsive Design for Image Text */
@media (max-width: 1024px) {
    .image-text {
        font-size: 2em;
        top: 80px;
        right: 15%;
    }
}

@media (max-width: 768px) {
    .image-text {
        font-size: 1.5em;
        top: 60px;
        right: 15%;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .image-text {
        font-size: 1.2em;
        top: 118px;
        right: -40%;
        padding: 6px 12px;
    }
}

@media (max-width: 320px) {
    .image-text {
        font-size: 15px;
        top: 126px;
        right: -34%;
        padding: 4px 8px;
    }
}

/* Form Styles */
.form-container {
    width: 50%;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group button {
    width: 50%;
    padding: 10px;
    text-align: center;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: block;
    margin: 0 auto; /* Center the button */
}

.form-group button:hover {
    background-color: #45a049;
}

/* Responsive Design for Form */
@media (max-width: 1024px) {
    .form-container {
        width: 70%;
    }
}

@media (max-width: 768px) {
    .form-container {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .form-container {
        width: 80%;
        padding: 10px;
    }

    .form-group input {
        padding: 8px;
    }

    .form-group button {
        padding: 8px;
        font-size: 14px;
    }
}

/***************** Navbar starts here ***********************/
.navbar {
    background-color: #4CAF50; 
}

.brand-header {
    display: flex;
    align-items: center;
    font-size: 32px;
    color: #3A940F !important;
    text-decoration: none;
    font-weight: 700;
    font-family: "Lato", sans-serif;
}

.brand-header img {
    margin-right: 10px;
}

.nav-item {
    margin: 0 45px !important;
    font-size: 22px;
    font-weight: 400;
    font-family: "Lato", sans-serif;
}

.nav-link {
    color: rgb(0, 0, 0) !important;
}

.nav-link.active {
    font-weight: bold;
    color: black !important;
}

.navbar-toggler {
    position: relative;
    margin-left: auto;
}

/***************** Sidebar starts here ***********************/
.sidebar {
    position: fixed;
    top: 0;
    right: -250px; 
    width: 250px;
    height: 100%;
    background-color: #4CAF50; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    transition: right 0.3s ease; 
    z-index: 1050; 
}

.sidebar.show {
    right: 0; 
}

.sidebar .nav-link {
    padding: 10px 20px; 
    display: block;
    color: #333; 
    margin-top: 30px;
}

.sidebar .nav-link:hover {
    background-color: transparent;  
}

.sidebar-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    border: none;
    background-color: transparent;
}

/*****************sidebar ends here***********************/
@media (max-width: 768px) {
    .nav-item {
        margin: 0 10px;
    }
    .brand-header{
        font-size: 22px;
    }
    .nav-link{
        font-size: 19px;
    }
    .footer-section  h3{
        font-size: 20px !important;
    }
}

@media (min-width: 992px) {
    .nav-item {
        margin: 0 30px !important; 
    }
    .sidebar {
        display: none; 
    }
    
    .navbar-nav {
        display: flex !important; 
    }
}
/***************** footer starts here ***********************/
.footer-section {
    background-color: #023020;
    color: white;
    padding: 40px 0 20px 0;
    margin-top: 30px;
}
.footer-brand{
    margin-bottom: 30px;
}
.list-unstyled a{
    color: #ffffff;
}
.list-unstyled li{
    margin: 17px 0;
}
.footer-brand img {
    width: 50px;
    height: 50px;
}
.footer-section  h3{
    font-size: 25px;
}
.footer-copy {
    font-size: 15px;
    margin: 10px 0;
}
.social-icons{
    margin-top: 40px;
    display: flex;
}
.social-icon {
    margin-right: 15px;
    color: #fff;
    text-decoration: none;
    position: relative;
    width: 50px;
    height: 50px;
    background-color: #4e4e4e54; 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
}
.social-icon:hover{
    color: #000000;
    text-decoration: none;
}
.form-control{
    background-color: #4e4e4e54; 
    border: none;
}
.input-group-append{
    background-color: transparent;
    color: #4e4e4e54;
}





/* Base styles */
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical; /* Allows vertical resizing */
}

/* Media query for screen sizes 425px and below */
@media (max-width: 425px) {
    .form-group textarea {
        width: 100%; /* Full width on smaller screens */
    }
}
